//
//  EnumConfig.swift
//  PPApp
//
//  Created by xiaopin on 2024/2/28.
//

/// 默认图
enum DefaultImageType:String {
    /// - none: 空
    case none = "default_none"
    /// - rectangle: 横向长方形 16:9
    case rectangle = "default_rectangle"
    /// - rectangleV: 竖向长方形
    case rectangleV = "default_rectangleV"
    /// - square: 正方形 1:1
    case square = "default_square"
    /// - 头像
    case avatar = "default_avatar"
}

//MARK: >>提示信息
enum xpfMessageTip:String {
    case locationFailed = "Message_LocationFailed"
    case networkRequestFailure = "Message_NetworkRequestFailure"
    case processing = "Message_Processing"
    case logining = "Message_Logining"
    case loading = "Message_Loading"
    case loaded = "Message_Loaded"
    case loadFailure = "Message_LoadFailure"
    case operFailure = "Message_OperFailure"
    case shareRequesting = "Message_ShareRequesting"
    case shareSuccess = "Message_ShareSuccess"
    case shareFailure = "Message_ShareFailure"
    case functionDeveloping = "Message_FunctionDeveloping"
}

//MARK: >>频道页面布局模板
/// 频道页面布局模板
enum ChannelMode:Int {
    case none = -1
    /// 资讯图文频道
    case news = 0
    /// 视频频道模板
    case video = 1
    /// 直播频道模板
    case live = 2
    /// 直播频道模板
    case webpage = 3
    /// 关注模板
    case attention = 4
}

//MARK: Banner类型
/// Banner类型
enum BannerType:Int {
    /// 文章
    case article = 0
    /// 视频
    case video = 1
    /// 直播
    case live = 2
    /// 外链
    case webpage = 3
    /// 帖子
    case post = 4
}

//MARK: 资讯类型
/// 资讯类型
enum ArticleType:Int {
    case none = -1
    /// 文章
    case article = 0
    /// 视频
    case video = 1
    /// 直播
    case live = 2
    /// 外链
    case webpage = 3
    /// 广告
    case adv = 4
    /// 专题
    case special = 5
}

//MARK: 资讯列表展示类型
/// 资讯列表展示类型
enum LayoutType:Int {
    /// 无图
    case text = 0
    /// 1张小图
    case smallPic1 = 1
    /// 3张小图
    case smallPic3 = 2
    /// 一张大图
    case largePic = 3
    /// 视频
    case video = 4
    /// 专题
    case special = 5
}
